package org.university.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.university.entity.Major;

@Repository
public interface MajorRepository extends JpaRepository<Major, Integer> {
    Page<Major> findByDeletedFalse(Pageable pageable);
}